package com.hwz.gulimall.product.constant;

public class AttrEnum {

    public enum AttrType {
        ATTR_TYPE_BASE(1,"base"),ATTR_TYPE_SALE(0,"sale");
        private String name;
        private int code;

        AttrType( int code,String name) {
            this.name = name;
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
